package xinya.com.baselibrary.bean;

import java.util.List;

/**
 * Created by zhangjiebo on 2019/6/28.
 *
 * @author ZhangJieBo
 */
public class DeviceSetting {


    /**
     * status : true
     * msg : 获取成功
     * data : {"statusBarName":0,"horizontalName":0,"devMacs":0,"RootStartSet":0,"deviceBrightness":100,"blacklightSet":0,"setVolume":{"deviceVolume":"80","isMute":0,"schedule":"1","schedulemsg":[{"starttime":"0:0","endtime":"23:54","volume":"80"},{"starttime":"23:23","endtime":"23:59","volume":"80"}]},"showPowerSchedule":null}
     * statusCode : 200
     */

    private boolean status;
    private String msg;
    private DataBean data;
    private int statusCode;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public static class DataBean {
        /**
         * statusBarName : 0
         * horizontalName : 0
         * devMacs : 0
         * RootStartSet : 0
         * deviceBrightness : 100
         * blacklightSet : 0
         * setVolume : {"deviceVolume":"80","isMute":0,"schedule":"1","schedulemsg":[{"starttime":"0:0","endtime":"23:54","volume":"80"},{"starttime":"23:23","endtime":"23:59","volume":"80"}]}
         * showPowerSchedule : null
         */

        private int statusBarName;
        private int horizontalName;
        private int devMacs;
        private int RootStartSet;
        private int deviceBrightness;
        private int blacklightSet;
        private SetVolumeBean setVolume;
        private Object showPowerSchedule;

        public int getStatusBarName() {
            return statusBarName;
        }

        public void setStatusBarName(int statusBarName) {
            this.statusBarName = statusBarName;
        }

        public int getHorizontalName() {
            return horizontalName;
        }

        public void setHorizontalName(int horizontalName) {
            this.horizontalName = horizontalName;
        }

        public int getDevMacs() {
            return devMacs;
        }

        public void setDevMacs(int devMacs) {
            this.devMacs = devMacs;
        }

        public int getRootStartSet() {
            return RootStartSet;
        }

        public void setRootStartSet(int RootStartSet) {
            this.RootStartSet = RootStartSet;
        }

        public int getDeviceBrightness() {
            return deviceBrightness;
        }

        public void setDeviceBrightness(int deviceBrightness) {
            this.deviceBrightness = deviceBrightness;
        }

        public int getBlacklightSet() {
            return blacklightSet;
        }

        public void setBlacklightSet(int blacklightSet) {
            this.blacklightSet = blacklightSet;
        }

        public SetVolumeBean getSetVolume() {
            return setVolume;
        }

        public void setSetVolume(SetVolumeBean setVolume) {
            this.setVolume = setVolume;
        }

        public Object getShowPowerSchedule() {
            return showPowerSchedule;
        }

        public void setShowPowerSchedule(Object showPowerSchedule) {
            this.showPowerSchedule = showPowerSchedule;
        }

        public static class SetVolumeBean {
            /**
             * deviceVolume : 80
             * isMute : 0
             * schedule : 1
             * schedulemsg : [{"starttime":"0:0","endtime":"23:54","volume":"80"},{"starttime":"23:23","endtime":"23:59","volume":"80"}]
             */

            private String deviceVolume;
            private int isMute;
            private String schedule;
            private List<SchedulemsgBean> schedulemsg;

            public String getDeviceVolume() {
                return deviceVolume;
            }

            public void setDeviceVolume(String deviceVolume) {
                this.deviceVolume = deviceVolume;
            }

            public int getIsMute() {
                return isMute;
            }

            public void setIsMute(int isMute) {
                this.isMute = isMute;
            }

            public String getSchedule() {
                return schedule;
            }

            public void setSchedule(String schedule) {
                this.schedule = schedule;
            }

            public List<SchedulemsgBean> getSchedulemsg() {
                return schedulemsg;
            }

            public void setSchedulemsg(List<SchedulemsgBean> schedulemsg) {
                this.schedulemsg = schedulemsg;
            }

            public static class SchedulemsgBean {
                /**
                 * starttime : 0:0
                 * endtime : 23:54
                 * volume : 80
                 */

                private String starttime;
                private String endtime;
                private String volume;

                public String getStarttime() {
                    return starttime;
                }

                public void setStarttime(String starttime) {
                    this.starttime = starttime;
                }

                public String getEndtime() {
                    return endtime;
                }

                public void setEndtime(String endtime) {
                    this.endtime = endtime;
                }

                public String getVolume() {
                    return volume;
                }

                public void setVolume(String volume) {
                    this.volume = volume;
                }
            }
        }
    }
}
